using System;

namespace CthulhuDomain.GameEntities
{
  public class DomainEntitySetUp
  {
    public DomainEntitySetUp(string setUp) {
      var p = setUp.Replace("{", string.Empty).Replace("}", string.Empty);
      var pp = p.Split(Convert.ToChar(":"));
      TypeEntity = (DomainFactory.eTypeEntity)int.Parse(pp[0]);
      LifePoint = int.Parse(pp[1]);
    }

    public DomainFactory.eTypeEntity TypeEntity { get; set; }
    public int LifePoint { get; set; }
  }
}